//
//  CarouselView.h
//  封装轮播图
//
//  Created by hesiyao on 16/1/15.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CarouselPictureDelegate <NSObject>

- (void)pushWithUrl:(NSString *)url;

@end

@interface CarouselView : UIView <UIScrollViewDelegate>

@property(nonatomic, assign)CGFloat timeInterval;
@property(nonatomic, retain)NSMutableArray *imageUrlArr;/**<接收传入的图片网址数组*/
@property(nonatomic, retain)NSMutableArray *urlArr;
@property(nonatomic, assign)id <CarouselPictureDelegate> delegate;

- (id)initWithFrame:(CGRect)frame timeInterval:(CGFloat)timeInterval imageUrlArr:(NSArray <NSURL*> *)imageUrlArr urlArr:(NSArray *)urlArr;

@end
